]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
popupMenu: Center separators vertically
authorFlorian Müllner <fmuellner@gnome.org>
Fri, 6 Mar 2015 17:57:19 +0000 (18:57 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Fri, 6 Mar 2015 18:01:46 +0000 (19:01 +0100)
js/ui/popupMenu.js

index 062701ac30d2e6ce6f3a20e1a82457205948ee82..72a62bdf358b3d1428337579f3d46f4be084797f 100644 (file)
@@ -263,7 +263,9 @@ const PopupSeparatorMenuItem = new Lang.Class({
                            Lang.bind(this, this._syncVisibility));
         this._syncVisibility();
 
-        this._separator = new St.Widget({ style_class: 'popup-separator-menu-item' });
+        this._separator = new St.Widget({ style_class: 'popup-separator-menu-item',
+                                          y_expand: true,
+                                          y_align: Clutter.ActorAlign.CENTER });
         this.actor.add(this._separator, { expand: true });
     },